<%-- 
    Document   : rsoptionfood
    Created on : Nov 21, 2011, 10:15:10 PM
    Author     : Venus
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="java.util.*,Beans.NgonNgu,Beans.ThamSoHT,Models.NgonNgu_Model,Models.ThamSoHT_Model, Models.TienTe_Model, Models.NhomMA_Model, Models.MonAn_Model, Models.TuyChon_Model"%>
<%
            int langid = (Integer) session.getAttribute("langid"); // ngôn ngữ hiện tại
            String dsts = " 'notice', 'rightmsg' ";
            ThamSoHT[] mdsts = ThamSoHT_Model.DSThamSo(dsts, langid); // mảng chứa các tham số của trang này.

            String notice = mdsts[0].getTenTS();
            String rightmsg = mdsts[1].getTenTS();
            String msgright = notice + "/" + rightmsg;

            Vector v = (Vector) request.getAttribute("TCMA");
%>
<%
                for (int i = 0; i < v.size(); i++) {
                    Beans.TuyChonMA tcma = (Beans.TuyChonMA) v.elementAt(i);%>
<tr>
    <td style="border: none; background: none;">
        <div style=" float: left; width: 120px;">
            <%=TuyChon_Model.LayTenTC(tcma.getMaTC(), langid)%>
        </div>
        <a href="#" id="<%=tcma.getMaMA()%>" lang="<%=tcma.getMaTC()%>" name="<%=msgright%>" onclick="DeleteOptionFood(this.name, this.id, this.lang)"><img style=" height: 15px; width: 15px;" alt="" src="../images/del.png"></a>
    </td>
</tr>            
<%  }
%>


